//对API进行统一管理
import requests from './request'

//接口：登录
export const reqLoginList = (data)=>requests({
  url:'/open/user/login3',
  method:'post', 
  data,
});

//接口：工作台数据
export const reqWorkList = ()=>requests({
  url:'/auth/work/data3',
  method:'get', 
});

//接口：门店列表
export const reqStoreList = ()=>requests({
  url:'/auth/store/list31',
  method:'get', 
});

//接口：门店新增
export const reqAddStore = (data)=>requests({
  url:'/auth/store/add',
  method:'post', 
  data,
});

//接口：门店详情
export const reqStoreDetail = (data)=>requests({
  url:'/auth/store/detail3',
  method:'post', 
  data,
});

//接口：门店修改
export const reqStoreEdit = (data)=>requests({
  url:'/auth/store/edit',
  method:'post', 
  data,
});

//接口：订单列表
export const reqOrderList = ()=>requests({
  url:'/auth/order/list32',
  method:'get', 
});

//接口：文件下载
export const reqOrderDow = (data)=>requests({
  url:'/auth/order/download3',
  method:'post', 
  data,
});

//接口：修改密码
export const reqUserPwd = (data)=>requests({
  url:'/auth/user/password3',
  method:'post', 
  data,
});
